﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

    .nav-menu a {
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        transition: opacity 0.3s;
    }

        .nav-menu a:hover {
            opacity: 0.8;
        }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Story Section */
.story-section {
    padding: 80px 20px;
    background: white;
}

.story-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.story-image {
    flex: 0 0 250px;
}

    .story-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.story-text {
    flex: 1;
}

    .story-text h2 {
        color: #667eea;
        font-size: 32px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .story-text p {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: justify;
    }

/* Login/Signup Forms */
.form-section {
    padding: 80px 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

    .form-container h2 {
        color: #667eea;
        font-size: 32px;
        margin-bottom: 30px;
        text-align: center;
    }

    .form-container p {
        text-align: center;
        margin-bottom: 30px;
        font-size: 16px;
        color: #666;
    }

.login-box {
    max-width: 450px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="date"],
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
        font-family: 'Poppins', sans-serif;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
        }

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Use an explicit class for inline radio groups (more compatible than :has()). */
.checkbox-group.radio-inline {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 10px;
}

    .checkbox-group label {
        display: flex;
        align-items: center;
        font-weight: 400;
    }

    .checkbox-group input[type="checkbox"],
    .checkbox-group input[type="radio"] {
        margin-right: 10px;
        width: auto;
    }

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Shared client-side validation styling (used by InternSignup + MentorSignup). */
.tb-invalid input,
.tb-invalid select,
.tb-invalid textarea {
    border-color: #d93025 !important;
}

.tb-invalid .tb-req {
    color: #d93025 !important;
    font-weight: 800;
}

.tb-invalid .checkbox-group,
.tb-invalid .select-box {
    outline: 2px solid #d93025;
    outline-offset: 3px;
    border-radius: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.form-link {
    text-align: center;
    margin-top: 20px;
}

    .form-link a {
        color: #667eea;
        text-decoration: none;
        font-weight: 500;
    }

        .form-link a:hover {
            text-decoration: underline;
        }

.password-requirements {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.8;
}

.form-section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 600;
}

    .form-section-header:first-child {
        margin-top: 0;
    }

.file-upload {
    margin-top: 8px;
}

.form-note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.agreement-text {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: justify;
}

.zone-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

    .zone-intro h2 {
        color: #667eea;
        font-size: 36px;
        margin-bottom: 20px;
    }

    .zone-intro p {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 15px;
    }

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 60px;
}

    footer p {
        margin: 0;
    }

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .story-content {
        flex-direction: column;
    }

    .story-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}
